package com.zy.service.impl;

import com.zy.dao.FindUserByIdDao;
import com.zy.dao.impl.FindUserByIdDaoImpl;
import com.zy.entity.User;
import com.zy.service.FindUserByIdService;

public class FindUserByIdServiceImpl implements FindUserByIdService {
    private FindUserByIdDao findUserByIdDao = new FindUserByIdDaoImpl();

    @Override
    public User findUserById(int id) {
        return findUserByIdDao.findUserById(id);
    }
}
